Skip to main content

FlowDocumentState Constructors

An object defining constructors for the FlowDocumentState class.

FlowDocumentState(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowDocumentState class.

Parameters:

name (required): string
The name of the document state.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data for initializing the state.

workflowCodeInstance (optional): IWorkflowCode
Optional workflow code instance for document operations.


FlowDocumentState(name, workflowData, workflowCodeInstance)

Constructor for the FlowDocumentState class. Initializes a new instance of the FlowDocumentState class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.